package com.af.monitorModule.generator.mapper;

import com.af.monitorModule.generator.entity.TimedTaskResult;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lyz_4dou
 * @since 2021-03-05
 */
@Component
public interface TimedTaskResultMapper extends BaseMapper<TimedTaskResult> {

    List<JSONObject> getTimedTaskSummary(String today);

    List<JSONObject> getNewResultInfo();

    List<JSONObject> getTenMinutesInfo();
}
